home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OCXDLG.PAK / CFX32.HXX < prev    next >
Encoding:
Text File  |  1997-05-06  |  13.0 KB  |  240 lines

  1. // Type Library: cfx32.ocx  ChartFX OLE Custom Control
  2. // ChartfxLib 2.0 {8996B0A4-D7BE-101B-8650-00AA003A5593}\0
  3.  
  4. #include <ocf/automacr.h>
  5.  
  6. class _DChartfx;
  7. class _DChartfxEvents;
  8.  
  9. // TKIND_DISPATCH: _DChartfx {2DC488B0-D891-101B-8652-00AA003A5593}\409 Dispatch interface for ChartFX Control
  10.  
  11. class _DChartfx : public TAutoProxy {
  12.   public:
  13.     _DChartfx() : TAutoProxy(0x409) {}
  14.     short GetThisSerie();     // [id(1), prop r/w]
  15.     void SetThisSerie(short); // [id(1), prop r/w]
  16.     short GetThisPoint();     // [id(2), prop r/w]
  17.     void SetThisPoint(short); // [id(2), prop r/w]
  18.     bool GetAutoInvalidate();     // [id(3), prop r/w]
  19.     void SetAutoInvalidate(bool); // [id(3), prop r/w]
  20.     long GetType();     // [id(4), prop r/w]
  21.     void SetType(long); // [id(4), prop r/w]
  22.     long GetStyle();     // [id(5), prop r/w]
  23.     void SetStyle(long); // [id(5), prop r/w]
  24.     short GetNSeries();     // [id(6), prop r/w]
  25.     void SetNSeries(short); // [id(6), prop r/w]
  26.     short GetNValues();     // [id(7), prop r/w]
  27.     void SetNValues(short); // [id(7), prop r/w]
  28.     OLE_COLOR GetThisColor();     // [id(8), prop r/w]
  29.     void SetThisColor(OLE_COLOR); // [id(8), prop r/w]
  30.     OLE_COLOR GetThisBkColor();     // [id(9), prop r/w]
  31.     void SetThisBkColor(OLE_COLOR); // [id(9), prop r/w]
  32.     short GetLeftGap();     // [id(10), prop r/w]
  33.     void SetLeftGap(short); // [id(10), prop r/w]
  34.     short GetRightGap();     // [id(11), prop r/w]
  35.     void SetRightGap(short); // [id(11), prop r/w]
  36.     short GetTopGap();     // [id(12), prop r/w]
  37.     void SetTopGap(short); // [id(12), prop r/w]
  38.     short GetBottomGap();     // [id(13), prop r/w]
  39.     void SetBottomGap(short); // [id(13), prop r/w]
  40.     short GetDecimals();     // [id(14), prop r/w]
  41.     void SetDecimals(short); // [id(14), prop r/w]
  42.     short GetPointType();     // [id(15), prop r/w]
  43.     void SetPointType(short); // [id(15), prop r/w]
  44.     short GetScheme();     // [id(16), prop r/w]
  45.     void SetScheme(short); // [id(16), prop r/w]
  46.     short GetStacked();     // [id(17), prop r/w]
  47.     void SetStacked(short); // [id(17), prop r/w]
  48.     short GetGrid();     // [id(18), prop r/w]
  49.     void SetGrid(short); // [id(18), prop r/w]
  50.     short GetWallWidth();     // [id(19), prop r/w]
  51.     void SetWallWidth(short); // [id(19), prop r/w]
  52.     short GetBarHorzGap();     // [id(20), prop r/w]
  53.     void SetBarHorzGap(short); // [id(20), prop r/w]
  54.     bool GetView3D();     // [id(21), prop r/w]
  55.     void SetView3D(bool); // [id(21), prop r/w]
  56.     long GetAngles3D();     // [id(22), prop r/w]
  57.     void SetAngles3D(long); // [id(22), prop r/w]
  58.     short GetPixFactor();     // [id(23), prop r/w]
  59.     void SetPixFactor(short); // [id(23), prop r/w]
  60.     short GetLineWidth();     // [id(24), prop r/w]
  61.     void SetLineWidth(short); // [id(24), prop r/w]
  62.     short GetLineStyle();     // [id(25), prop r/w]
  63.     void SetLineStyle(short); // [id(25), prop r/w]
  64.     OLE_COLOR GetLineColor();     // [id(26), prop r/w]
  65.     void SetLineColor(OLE_COLOR); // [id(26), prop r/w]
  66.     OLE_COLOR GetLineBkColor();     // [id(27), prop r/w]
  67.     void SetLineBkColor(OLE_COLOR); // [id(27), prop r/w]
  68.     short GetFixedWidth();     // [id(28), prop r/w]
  69.     void SetFixedWidth(short); // [id(28), prop r/w]
  70.     short GetFixedStyle();     // [id(29), prop r/w]
  71.     void SetFixedStyle(short); // [id(29), prop r/w]
  72.     OLE_COLOR GetFixedColor();     // [id(30), prop r/w]
  73.     void SetFixedColor(OLE_COLOR); // [id(30), prop r/w]
  74.     OLE_COLOR GetFixedBkColor();     // [id(31), prop r/w]
  75.     void SetFixedBkColor(OLE_COLOR); // [id(31), prop r/w]
  76.     short GetFixedGap();     // [id(32), prop r/w]
  77.     void SetFixedGap(short); // [id(32), prop r/w]
  78.     OLE_COLOR GetRGBBarHorz();     // [id(33), prop r/w]
  79.     void SetRGBBarHorz(OLE_COLOR); // [id(33), prop r/w]
  80.     OLE_COLOR GetRGBBk();     // [id(34), prop r/w]
  81.     void SetRGBBk(OLE_COLOR); // [id(34), prop r/w]
  82.     OLE_COLOR GetRGB2DBk();     // [id(35), prop r/w]
  83.     void SetRGB2DBk(OLE_COLOR); // [id(35), prop r/w]
  84.     OLE_COLOR GetRGB3DBk();     // [id(36), prop r/w]
  85.     void SetRGB3DBk(OLE_COLOR); // [id(36), prop r/w]
  86.     bool GetShowStatus();     // [id(37), prop r/w]
  87.     void SetShowStatus(bool); // [id(37), prop r/w]
  88.     TAutoString GetLanguage();     // [id(38), prop r/w]
  89.     void SetLanguage(TAutoString); // [id(38), prop r/w]
  90.     TAutoString GetHText();     // [id(39), prop r/w]
  91.     void SetHText(TAutoString); // [id(39), prop r/w]
  92.     TAutoString GetExportFile();     // [id(40), prop r/w]
  93.     void SetExportFile(TAutoString); // [id(40), prop r/w]
  94.     TAutoString GetImportFile();     // [id(41), prop r/w]
  95.     void SetImportFile(TAutoString); // [id(41), prop r/w]
  96.     TAutoString GetWriteTemplate();     // [id(42), prop r/w]
  97.     void SetWriteTemplate(TAutoString); // [id(42), prop r/w]
  98.     TAutoString GetReadTemplate();     // [id(43), prop r/w]
  99.     void SetReadTemplate(TAutoString); // [id(43), prop r/w]
  100.     short GetChartStatus();     // [id(44), prop r/w]
  101.     void SetChartStatus(short); // [id(44), prop r/w]
  102.     short GetEdit();     // [id(45), prop r/w]
  103.     void SetEdit(short); // [id(45), prop r/w]
  104.     short GetCopyData();     // [id(46), prop r/w]
  105.     void SetCopyData(short); // [id(46), prop r/w]
  106.     short GetCopyBitmap();     // [id(47), prop r/w]
  107.     void SetCopyBitmap(short); // [id(47), prop r/w]
  108.     short GetPrint();     // [id(48), prop r/w]
  109.     void SetPrint(short); // [id(48), prop r/w]
  110.     short GetChartType();     // [id(49), prop r/w]
  111.     void SetChartType(short); // [id(49), prop r/w]
  112.     bool GetChart3D();     // [id(50), prop r/w]
  113.     void SetChart3D(bool); // [id(50), prop r/w]
  114.     bool GetToolBar();     // [id(51), prop r/w]
  115.     void SetToolBar(bool); // [id(51), prop r/w]
  116.     bool GetPaletteBar();     // [id(52), prop r/w]
  117.     void SetPaletteBar(bool); // [id(52), prop r/w]
  118.     bool GetPatternBar();     // [id(53), prop r/w]
  119.     void SetPatternBar(bool); // [id(53), prop r/w]
  120.     long GetCustTool();     // [id(54), prop r/w]
  121.     void SetCustTool(long); // [id(54), prop r/w]
  122.     short GethCtlWnd();     // [id(55), prop r/w]
  123.     void SethCtlWnd(short); // [id(55), prop r/w]
  124.     long GetReturnValue();     // [id(56), prop r/w]
  125.     void SetReturnValue(long); // [id(56), prop r/w]
  126.     bool GetAutoIncrement();     // [id(57), prop r/w]
  127.     void SetAutoIncrement(bool); // [id(57), prop r/w]
  128.     double GetThisValue();     // [id(58), prop r/w]
  129.     void SetThisValue(double); // [id(58), prop r/w]
  130.     short GetVertGridGap();     // [id(59), prop r/w]
  131.     void SetVertGridGap(short); // [id(59), prop r/w]
  132.     short GetXLegType();     // [id(60), prop r/w]
  133.     void SetXLegType(short); // [id(60), prop r/w]
  134.     short GetConstType();     // [id(61), prop r/w]
  135.     void SetConstType(short); // [id(61), prop r/w]
  136.     IFontDisp far* GetLeftFont();     // [id(62), prop r/w]
  137.     void SetLeftFont(IFontDisp far*); // [id(62), prop r/w]
  138.     IFontDisp far* GetRightFont();     // [id(63), prop r/w]
  139.     void SetRightFont(IFontDisp far*); // [id(63), prop r/w]
  140.     IFontDisp far* GetTopFont();     // [id(64), prop r/w]
  141.     void SetTopFont(IFontDisp far*); // [id(64), prop r/w]
  142.     IFontDisp far* GetBottomFont();     // [id(65), prop r/w]
  143.     void SetBottomFont(IFontDisp far*); // [id(65), prop r/w]
  144.     IFontDisp far* GetXLegFont();     // [id(66), prop r/w]
  145.     void SetXLegFont(IFontDisp far*); // [id(66), prop r/w]
  146.     IFontDisp far* GetYLegFont();     // [id(67), prop r/w]
  147.     void SetYLegFont(IFontDisp far*); // [id(67), prop r/w]
  148.     IFontDisp far* GetFixedFont();     // [id(68), prop r/w]
  149.     void SetFixedFont(IFontDisp far*); // [id(68), prop r/w]
  150.     IFontDisp far* GetLegendFont();     // [id(69), prop r/w]
  151.     void SetLegendFont(IFontDisp far*); // [id(69), prop r/w]
  152.     bool GetEnabled();     // [id(-514), prop r/w]
  153.     void SetEnabled(bool); // [id(-514), prop r/w]
  154.     OLE_HANDLE GethWnd();     // [id(-515), prop r/w]
  155.     void SethWnd(OLE_HANDLE); // [id(-515), prop r/w]
  156.     short GetBorderStyle();     // [id(-504), prop r/w]
  157.     void SetBorderStyle(short); // [id(-504), prop r/w]
  158.     double GetValue(short index); // [id(71), propget]
  159.     void SetValue(short, double index); // [id(71), propset]
  160.     double GetXValue(short index); // [id(72), propget]
  161.     void SetXValue(short, double index); // [id(72), propset]
  162.     double GetIniValue(short index); // [id(73), propget]
  163.     void SetIniValue(short, double index); // [id(73), propset]
  164.     double GetConst(short index); // [id(74), propget]
  165.     void SetConst(short, double index); // [id(74), propset]
  166.     OLE_COLOR GetColor(short index); // [id(75), propget]
  167.     void SetColor(short, OLE_COLOR index); // [id(75), propset]
  168.     OLE_COLOR GetBkColor(short index); // [id(76), propget]
  169.     void SetBkColor(short, OLE_COLOR index); // [id(76), propset]
  170.     double GetAdm(short index); // [id(77), propget]
  171.     void SetAdm(short, double index); // [id(77), propset]
  172.     short GetPattern(short index); // [id(78), propget]
  173.     void SetPattern(short, short index); // [id(78), propset]
  174.     short GetDblClk(short index); // [id(79), propget]
  175.     void SetDblClk(short, short index); // [id(79), propset]
  176.     short GetRigClk(short index); // [id(80), propget]
  177.     void SetRigClk(short, short index); // [id(80), propset]
  178.     long GetFont(short index); // [id(81), propget]
  179.     void SetFont(short, long index); // [id(81), propset]
  180.     TAutoString GetTitle(short index); // [id(82), propget]
  181.     void SetTitle(short, TAutoString index); // [id(82), propset]
  182.     long GetStatus(short index); // [id(83), propget]
  183.     void SetStatus(short, long index); // [id(83), propset]
  184.     TAutoString GetLegend(short index); // [id(84), propget]
  185.     void SetLegend(short, TAutoString index); // [id(84), propset]
  186.     TAutoString GetSerLeg(short index); // [id(85), propget]
  187.     void SetSerLeg(short, TAutoString index); // [id(85), propset]
  188.     TAutoString GetKeyLeg(short index); // [id(86), propget]
  189.     void SetKeyLeg(short, TAutoString index); // [id(86), propset]
  190.     TAutoString GetFixLeg(short index); // [id(87), propget]
  191.     void SetFixLeg(short, TAutoString index); // [id(87), propset]
  192.     TAutoString GetYLeg(short index); // [id(88), propget]
  193.     void SetYLeg(short, TAutoString index); // [id(88), propset]
  194.     TAutoString GetKeySer(short index); // [id(89), propget]
  195.     void SetKeySer(short, TAutoString index); // [id(89), propset]
  196.     TAutoString GetStatusText(short index); // [id(90), propget]
  197.     void SetStatusText(short, TAutoString index); // [id(90), propset]
  198.     OLE_COLOR GetRGBFont(short index); // [id(91), propget]
  199.     void SetRGBFont(short, OLE_COLOR index); // [id(91), propset]
  200.     short GetHFont(short index); // [id(92), propget]
  201.     void SetHFont(short, short index); // [id(92), propset]
  202.     short GetItemWidth(short index); // [id(93), propget]
  203.     void SetItemWidth(short, short index); // [id(93), propset]
  204.     short GetItemStyle(short index); // [id(94), propget]
  205.     void SetItemStyle(short, short index); // [id(94), propset]
  206.     OLE_COLOR GetItemColor(short index); // [id(95), propget]
  207.     void SetItemColor(short, OLE_COLOR index); // [id(95), propset]
  208.     short GetDecimalsNum(short index); // [id(96), propget]
  209.     void SetDecimalsNum(short, short index); // [id(96), propset]
  210.     long GetOpenData(short index); // [id(97), propget]
  211.     void SetOpenData(short, long index); // [id(97), propset]
  212.     long GetCloseData(short index); // [id(98), propget]
  213.     void SetCloseData(short, long index); // [id(98), propset]
  214.     short GetShowDialog(short index); // [id(99), propget]
  215.     void SetShowDialog(short, short index); // [id(99), propset]
  216.     void AboutBox(); // [id(-552), method]
  217.     void Refresh(); // [id(-550), method]
  218. };
  219.  
  220. // TKIND_DISPATCH: _DChartfxEvents {2DC488B1-D891-101B-8652-00AA003A5593}\409 Event interface for ChartFX Control
  221.  
  222. class _DChartfxEvents : public TAutoProxy {
  223.   public:
  224.     _DChartfxEvents() : TAutoProxy(0x409) {}
  225.     void LButtonDblClk(short far* X, short far* Y, short far* nSerie, short far* nPoint, short far* nRes); // [id(1), method]
  226.     void RButtonDown(short far* X, short far* Y, short far* nSerie, short far* nPoint, short far* nRes); // [id(2), method]
  227.     void ChangeValue(double far* dValue, short far* nSerie, short far* nPoint, short far* nRes); // [id(3), method]
  228.     void ChangeString(short far* nType, short far* nIndex, short far* nRes); // [id(4), method]
  229.     void ChangeColor(short far* nType, short far* nIndex, short far* nRes); // [id(5), method]
  230.     void Destroy(); // [id(6), method]
  231.     void ReadFile(); // [id(7), method]
  232.     void ChangePalette(short far* nIndex, short far* nRes); // [id(8), method]
  233.     void ChangeFont(short far* nIndex, short far* nRes); // [id(9), method]
  234.     void ReadTemplate(); // [id(10), method]
  235.     void ChangePattern(short far* nType, short far* nIndex, short far* nRes); // [id(11), method]
  236.     void ChangePattPal(short far* nIndex, short far* nRes); // [id(12), method]
  237.     void Menu(short far* wParam, short far* nSerie, short far* nPoint, short far* nRes); // [id(13), method]
  238.     void ChangeType(short far* nType, short far* nRes); // [id(14), method]
  239. };
  240.